package com.zoe.app.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author zoe.Zhang
 * @date 2023/01/30
 * @description $description
 */
@Data
@TableName(value = "user")
public class Users {
    public static final String COL_USERNAME = "username";
    public static final String COL_PASSWORD = "PASSWORD";
    public static final String COL_ENABLED = "enabled";
    @TableId(value = "id", type = IdType.AUTO)
    private String id;
    @TableField(value = "username")
    private String username;
    @TableField(value = "`PASSWORD`")
    private String password;
    @TableField(value = "enabled")
    private Boolean enabled;
}